<!-- 省略组件 -->
<template>
  <div>
    <el-tooltip placement="top" effect="light">
      <template #content> <div style="max-width: 250px; font-size: 14px;">{{ prop.content }}</div></template>
      <div class="eslipe">
        {{ prop.content }}
      </div>
    </el-tooltip>
  </div>
</template>
<script setup lang="ts">
  let prop = defineProps<{
    content:string
  }>()
</script>
<style scoped>
  .eslipe{
    max-width: 250px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-align: center;
  }
</style>
